package org.ams.log.service.impl;

import java.util.List;
import java.util.Map;

import org.ams.log.dao.OperationLogDao;
import org.ams.log.entity.OperationLog;
import org.ams.log.service.OperationLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("operationLogService")
public class OperationLogServiceImpl implements OperationLogService {

	@Autowired
	private OperationLogDao operationLogDao;
	
	@Override
	public void save(OperationLog operationLog) {
		operationLogDao.save(operationLog);
	}

	@Override
	public List<OperationLog> queryOperationLogListByPage(Map<String, Object> params) {
		return operationLogDao.queryOperationLogListByPage(params);
	}
	
}
